package com.xfzcode.service;

import com.xfzcode.pojo.CommonEntity;

import java.util.Map;

/**
 * @Author: XMLee
 * @Date: 2022/8/4 18:25
 * @Description:
 */
public interface AnalysisService {
    //指标聚合
    Map<Object, Object> metricAgg(CommonEntity commonEntity) throws Exception;
    //桶聚合
    public Map<Object, Object> bucketAgg(CommonEntity commonEntity) throws Exception;
    //获取搜索热词
    public Map<String, Long> hotWords(CommonEntity commonEntity) throws Exception;



}
